package com.cwm.test.command.invoker;

import com.cwm.test.command.command.Command;

//调用者Invoker类
public class Invoker {
    private Command command;

    public void setCommand(Command _command) {
        this.command = _command;
    }

    public void action() {
        this.command.execute();
    }
}